from django.urls import path
from account import views
from django.contrib.auth.views import LoginView, LogoutView
app_name = 'account'
urlpatterns = [
    # path('login/', views.user_login, name='user_login')
    path('login/', LoginView.as_view(), name='user_login'),
    # /registration/login.html
    path('logout/', LogoutView.as_view(),
         name='user_logout'),
    # /registration/logged_out.html
    path('register/', views.register, name='user_register')
]
